package com.ruoyi.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 轮播图管理对象 tea_banner
 *
 * @author ruoyi
 * @date 2022-08-17
 */
public class Banner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 轮播图id */
    private Long bannerId;

    /** 轮播图地址 */
    @Excel(name = "轮播图地址")
    private String bannerImg;

    /** 轮播图描述 */
    @Excel(name = "轮播图描述")
    private String bannerDec;

    /** 轮播图状态 */
    @Excel(name = "轮播图状态")
    private Long bannerStatus;

    public void setBannerId(Long bannerId)
    {
        this.bannerId = bannerId;
    }

    public Long getBannerId()
    {
        return bannerId;
    }
    public void setBannerImg(String bannerImg)
    {
        this.bannerImg = bannerImg;
    }

    public String getBannerImg()
    {
        return bannerImg;
    }
    public void setBannerDec(String bannerDec)
    {
        this.bannerDec = bannerDec;
    }

    public String getBannerDec()
    {
        return bannerDec;
    }
    public void setBannerStatus(Long bannerStatus)
    {
        this.bannerStatus = bannerStatus;
    }

    public Long getBannerStatus()
    {
        return bannerStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bannerId", getBannerId())
            .append("bannerImg", getBannerImg())
            .append("bannerDec", getBannerDec())
            .append("bannerStatus", getBannerStatus())
            .toString();
    }
}
